package cn.tedu.db.service;

import cn.tedu.db.entity.Award;
import cn.tedu.db.entity.AwardLog;
import cn.tedu.db.entity.User;

import java.util.List;

public interface AwardService {
    void grantAward(User user, String description, Integer point);
    int deductPoints(User user, String description, Integer point);
    Award getAward(Integer id);
    Award getAward(User user);
    List<AwardLog> getLogs(User user);
}
